home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Present…nuary (Partner) - Disc 1 / The Apple Reference and Presentations Library (Disc 1)(January 1994).iso / Linker / US English / The Animation Stand / The Animation Stand-PPC / The Animation Stand™ DEMO / The Animation Stand™ DEMO.rsrc / STR#_22.txt < prev    next >
Encoding:
Text File  |  1994-10-13  |  2.1 KB  |  101 lines

  1. Sounds the system beep.
  2.  
  3. Sets the drawing environment to draw on-screen and off-screen.
  4.  
  5. Sets the select area to an empty region.
  6.  
  7. Stops execution of the PF-key program.
  8.  
  9. Used within an IF statement.
  10.  
  11. Used at the end of a block of statements.  See IF, WHILE, and FOR.
  12.  
  13. FRAMEOVAL left, top, right, bottom
  14.  
  15. Frames an oval in the current pen, mode, and color.
  16.  
  17. FRAMERECT left, top, right, bottom
  18.  
  19. Frames a rectangle in the current pen, mode, and color.
  20.  
  21. Hides the cursor.
  22.  
  23. IF condition
  24.    statements
  25. [ELSE
  26.    statements]
  27. END
  28.  
  29. Conditional execution.  No parenthesis are required.
  30.  
  31. Leaves a loop by jumping to the first statement outside the loop.
  32.  
  33. LIGHTING angle
  34.  
  35. Specifies the current angle to the light source from the current pixel, as if the pixel represented a part of a surface.  An angle of 0 represents normal light, and an angle of œÄ/2 represents parellel light.
  36.  
  37. LINE from_x, from_y, to_x, to_y
  38.  
  39. Draws a line in the current pen, mode, and color.
  40.  
  41. LOADCOLOR x, y
  42.  
  43. Loads the color of offscreen pixel (x,y) as the current draw color.
  44.  
  45. LOADOLDCOLOR x, y
  46.  
  47. Loads the color of the Undo buffer's pixel (x,y) as the current draw color.
  48.  
  49. MODE n
  50.  
  51. Sets the current draw mode.
  52.  
  53. Sets the drawing environment to draw off-screen only.
  54.  
  55. OVAL left, top, right, bottom
  56.  
  57. Draws a filled oval in the current mode and color.
  58.  
  59. PEN height, width
  60.  
  61. Sets the pen to rectangular.
  62.  
  63. PENROUND width
  64.  
  65. Sets the pen to oval in shape.
  66.  
  67. RECT left, top, right, bottom
  68.  
  69. Draws a filled rectangle in the current mode and color.
  70.  
  71. RGB red, green, blue
  72.  
  73. Sets the current draw color
  74.  
  75. SAVE left, top, right, bottom
  76.  
  77. Saves a portion of the off-screen area into the Undo buffer.
  78.  
  79. Sets the drawing environment to draw on-screen only.
  80.  
  81. SELECT x, y
  82.  
  83. Adds the point to the select region.
  84.  
  85. SETPIXEL x, y
  86.  
  87. Sets the specified pixel to the current color.
  88.  
  89. Displays the cursor.
  90.  
  91. UPDATE left, top, right, bottom
  92.  
  93. Updates the specified area.  After a PF key, the entire window is automatically updated, so this statement is usually used for in-the-loop updating.
  94.  
  95. WHILE condition
  96.    statements
  97. END
  98.  
  99. Executes the statements while the condition is true (nonzero), or until command-period is pressed, or a LEAVE statement is executed.
  100.  
  101.